<?php 

$num


function run()
{
	static $num=0;
	$num++;
	return $num;
}

echo run();

echo run();

echo run();






 ?>